package DBLayer;

import java.util.ArrayList;
import ModelLayer.*;

public interface PartSaleDBIF {
	 // get all partsales
    public ArrayList<PartSale> getAllPartSales(boolean retrieveAssociation);
    //get one PartSale having the PsID
    public PartSale findPartSale(int psID, boolean retrieveAssociation);
    //create a partsale
    public int createPartSale(PartSale ps, Sale s) throws Exception;
    //update information about a partsale  
    public int updatePartSale(PartSale ps);
    //delete a partsale
    public int deletePartSale(int psID);

}
